/*
 *  VMTranslation.h
 *  
 *
 *  Created by Rayvionne French on 7/2/11.
 *  Copyright 2011 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef VMTRANSLATE_H
#define VMTRANSLATE_H

#include "copyright.h"
#include "utility.h"
#include "translate.h"

// The following class defines an entry in a translation table -- either
// in a page table or a TLB.  Each entry defines a mapping from one 
// virtual page to one physical page.
// In addition, there are some extra bits for access control (valid and 
// read-only) and some bits for usage information (use and dirty).

class VMTranslationEntry : public TranslationEntry{
  public:
    int processID;
	int threadID;
	int pageType;
	int location;
	int offset;
	int inUse;
};

#endif
